import { createApp } from 'vue'
import App from './App.vue'
// import User from '@/views/user/user.vue' 
import 'lib-flexible/flexible'

import ElementPlus from 'element-plus';
import 'element-plus/lib/theme-chalk/index.css';
import locale from 'element-plus/lib/locale/lang/zh-cn';

import Api from '@/utils/request';
import router from "@/config/routes";
import store from '@/store/index';
 
const app = createApp(App);


app.config.globalProperties.$Api = Api;

 
 
app.use(store)
app.use(router)
//使用elementplus
app.use(ElementPlus, { size: 'small', locale:locale});
app.mount('#app');
